package com.sd.coupon.service;

import java.util.List;

import com.sd.coupon.entity.CategoryGoods;
import com.sd.coupon.model.res.CategoryRes;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.cache.annotation.Cacheable;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lws
 * @since 2018-12-04
 */
public interface ICategoryGoodsService extends IService<CategoryGoods> {

	List<CategoryRes> getCategoryTree();

    @Cacheable()
    List<CategoryGoods> getAll();
}
